package com.originit.order.server.enums;

import lombok.Getter;

@Getter
public enum OrderStatus {

    NEW(0,"新建"),
    FINISH(1,"完成"),
    CANCEL(2,"取消");

    private Integer code;

    private String message;

    private OrderStatus(Integer code,String message){
        this.code = code;
        this.message = message;
    }
}
